﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Wolf Lai
 *      Date:           2012/3/13 20:35:12
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sector7.Restaurant.CoreType.Events
{
    /// <summary>
    /// DataGridView行双击事件委托
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    public delegate void DataGridViewRowDoubleClickEventHandler(object sender, DataGridViewRowDoubleClickEventArgs e);

    /// <summary>
    /// DataGridView行双击事件参数
    /// </summary>
    public class DataGridViewRowDoubleClickEventArgs : EventArgs
    {
        #region Inner members
        private object _tag;
        #endregion

        #region Accessor
        public object Tag
        {
            get { return _tag; }
        }
        #endregion

        #region Structure
        public DataGridViewRowDoubleClickEventArgs(object tag)
        {
            _tag = tag;
        }
        #endregion
    }
}
